# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class VideoObject(object):

    def __init__(self, id=None, name=None, description=None, coverUrl=None, status=None, fileSize=None, checksum=None, duration=None, tags=None, categoryId=None, categoryName=None, snapshots=None, createTime=None, updateTime=None):
        """
        :param id: (Optional) 视频ID
        :param name: (Optional) 视频名称
        :param description: (Optional) 视频描述
        :param coverUrl: (Optional) 封面图地址
        :param status: (Optional) 视频状态。取值范围：
  transcoding - 转码中
  transcode_failed - 转码失败
  normal - 正常
  uploaded - 上传完成（未转码）
  blocked - 封禁

        :param fileSize: (Optional) 文件大小，单位为 Byte
        :param checksum: (Optional) 文件MD5校验和
        :param duration: (Optional) 视频时长
        :param tags: (Optional) 标签集合
        :param categoryId: (Optional) 分类ID
        :param categoryName: (Optional) 分类名称
        :param snapshots: (Optional) 转码截图
        :param createTime: (Optional) 创建时间
        :param updateTime: (Optional) 修改时间
        """

        self.id = id
        self.name = name
        self.description = description
        self.coverUrl = coverUrl
        self.status = status
        self.fileSize = fileSize
        self.checksum = checksum
        self.duration = duration
        self.tags = tags
        self.categoryId = categoryId
        self.categoryName = categoryName
        self.snapshots = snapshots
        self.createTime = createTime
        self.updateTime = updateTime
